package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.entity.Dish;
import com.itheima.reggie.dto.DishDto;

import java.util.List;

public interface DishService extends IService<Dish> {
   public void saveWithFlavor(DishDto dishDto);

    void updateWithFlavor(DishDto dishDto);

    void deleteWithSetmealDish(List<Long> ids);

    Page<DishDto> pageWithCateory(Integer page, Integer pageSize, String name);
}
